package my.design.test.interviewer;

/**
 * @author zp
 * @version 1.0
 * @description: 普通电脑账户
 * @date 2022/10/23 15:46
 */
public class OrdinaryAccountComputer extends Computer{
    private final String userName;

    public OrdinaryAccountComputer(String userName) {
        super(userName);
        this.userName = userName;
    }

    @Override
    public void operation() {
        getOperation();
    }

    private void getOperation(){
        System.out.println("\t用户名："+userName+"用户等级：最低 用户身份：普通用户权限");
    }



    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
}
